<!DOCTYPE html>
<html>
	<head>
		<meta charset="utf-8" />
		<meta name="viewport" content="width=device-width, initial-scale=1">
		<title>mu</title>
		<style type="text/css">
			.father{
				width: 500px;
				height: 500px;
				position: relative;
				background: red;
			}
			.box{
				width: 400px;
				height: 400px;
				background: green;
				position: absolute;
			}
			.son{
				width: 300px;
				height: 300px;
				background: pink;
				position: relative;
			}
			.sunzhi{
				width: 200px;
				height: 200px;
				background: orange;
				position: absolute;
				right:10px;
			}
		</style>
	</head>
	<body>
		<div class="father">
			<div class="box">
				<div class="son">
					<div class="sunzhi"></div>
				</div>
			</div>
		</div>
	</body>
</html>